/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.psdk.app;

import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import java.util.Map;

class h implements DialogInterface.OnClickListener {
    public void onClick(DialogInterface paramDialogInterface, int paramInt) {
        if (paramInt == -1) {
            com.qihoo.psdk.util.h.a("QStatActivity", "Pause...");
            try {
                d locald = d.a(this.b);
                locald.d = true;
                d.b(this.b);
                d.b.put(this.c, Integer.valueOf(this.b));
                paramDialogInterface.dismiss();
                this.a.finish();
            } catch (Exception localException1) {
                com.qihoo.psdk.util.h.a("QStatActivity", localException1);
            } catch (Error localError1) {
                com.qihoo.psdk.util.h.a("QStatActivity", localError1);
            }
        }
        else {
            if (paramInt != -2)
                return;
            com.qihoo.psdk.util.h.a("QStatActivity", "Going...");
            try {
                paramDialogInterface.dismiss();
                this.a.finish();
            } catch (Exception localException2) {
                com.qihoo.psdk.util.h.a("QStatActivity", localException2);
            } catch (Error localError2) {
                com.qihoo.psdk.util.h.a("QStatActivity", localError2);
            }
        }
    }
}